package com.mallcloud.mall.admin.api.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.mallcloud.mall.common.core.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@ApiModel(value = "SysTenant", description = "租户信息")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "sys_tenant", autoResultMap = true)
public class SysTenant extends BaseModel {
	private static final long serialVersionUID = 1L;

	@TableId(type = IdType.ASSIGN_ID)
	@ApiModelProperty(value = "租户id")
	private Long id;

	@ApiModelProperty(value = "租户名称")
	private String name;

	@ApiModelProperty(value = "租户编号")
	private String code;

	@ApiModelProperty(value = "租户域名")
	private String tenantDomain;

	@ApiModelProperty(value = "开始时间")
	private Date startTime;

	@ApiModelProperty(value = "结束时间")
	private Date endTime;

	@ApiModelProperty(value = "租户冻结标记,9:冻结,0:正常")
	private String status;

}
